package com.chenglu.android.search.bean;



import com.chenglu.android.common.base.BaseBean;

import java.util.List;

/**
 * @author: lyj
 * @Created: by Copyright 2023 3 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 * @Description： 搜索
 */
public class SearchBean extends BaseBean {


    private Integer code;
    private Boolean success;
    private Data data;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class Data {
        private List<Records> records;
        private Integer total;
        private Integer size;
        private Integer current;
        private List<Orders> orders;
        private Boolean optimizeCountSql;
        private Boolean hitCount;
        private String countId;
        private Integer maxLimit;
        private Boolean searchCount;
        private Integer pages;

        public List<Records> getRecords() {
            return records;
        }

        public void setRecords(List<Records> records) {
            this.records = records;
        }

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public Integer getCurrent() {
            return current;
        }

        public void setCurrent(Integer current) {
            this.current = current;
        }

        public List<Orders> getOrders() {
            return orders;
        }

        public void setOrders(List<Orders> orders) {
            this.orders = orders;
        }

        public Boolean getOptimizeCountSql() {
            return optimizeCountSql;
        }

        public void setOptimizeCountSql(Boolean optimizeCountSql) {
            this.optimizeCountSql = optimizeCountSql;
        }

        public Boolean getHitCount() {
            return hitCount;
        }

        public void setHitCount(Boolean hitCount) {
            this.hitCount = hitCount;
        }

        public String getCountId() {
            return countId;
        }

        public void setCountId(String countId) {
            this.countId = countId;
        }

        public Integer getMaxLimit() {
            return maxLimit;
        }

        public void setMaxLimit(Integer maxLimit) {
            this.maxLimit = maxLimit;
        }

        public Boolean getSearchCount() {
            return searchCount;
        }

        public void setSearchCount(Boolean searchCount) {
            this.searchCount = searchCount;
        }

        public Integer getPages() {
            return pages;
        }

        public void setPages(Integer pages) {
            this.pages = pages;
        }

        public static class Records {
            private String id;
            private String parentId;
            private String sellerId;
            private String categoryId;
            private String dietCategoryId;
            private Integer goodsType;
            private Integer goodsForm;
            private String goodsSn;
            private String goodsName;
            private String goodsBrief;
            private String goodsDetail;
            private String goodsImg;
            private String goodsImgList;
            private String goodsVideo;
            private Integer goodsStocksTotal;
            private Integer sort;
            private Integer status;
            private String unit;
            private String goodsPrice;
            private String marketPrice;
            private String subMoney;
            private Integer subRatio;
            private int giveBeans;
            private String giveMoney;
            private Integer giveHmbc;
            private Integer returnMoney;
            private String transportId;
            private String keywords;
            private Integer salesVolume;
            private Integer salesVolumeVirtual;
            private Integer isSpec;
            private Integer isShowSales;
            private Integer isTop;
            private Integer isHot;
            private Integer isRecommend;
            private Integer isLimitTime;
            private Integer isSpecial;
            private Integer isConfirm;
            private String giftIds;
            private String remark;
            private String limitTimeBegin;
            private String limitTimeEnd;
            private String createTime;
            private String updateTime;
            private Integer version;
            private Integer isDeleted;
            private String giveStartupFund;
            private String startupFund;
            private int isPorW;
            private Integer buyNum;
            private String isServiceCenter;
            private Integer isEnablingCard;
            private String redCodeCoupon;
            private Integer serviceCenterGoodsRecommender;
            private String batchNo;
            private Integer refundType;

            private int isPresale;

            //所需云仓值
            private double deductCloudWarehouseFund;
            //赠送运仓值
            private double giveCloudWarehouseFund;

            public int getIsPresale() {
                return isPresale;
            }

            public void setIsPresale(int isPresale) {
                this.isPresale = isPresale;
            }

            public double getDeductCloudWarehouseFund() {
                return deductCloudWarehouseFund;
            }

            public void setDeductCloudWarehouseFund(double deductCloudWarehouseFund) {
                this.deductCloudWarehouseFund = deductCloudWarehouseFund;
            }

            public double getGiveCloudWarehouseFund() {
                return giveCloudWarehouseFund;
            }

            public void setGiveCloudWarehouseFund(double giveCloudWarehouseFund) {
                this.giveCloudWarehouseFund = giveCloudWarehouseFund;
            }


            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getParentId() {
                return parentId;
            }

            public void setParentId(String parentId) {
                this.parentId = parentId;
            }

            public String getSellerId() {
                return sellerId;
            }

            public void setSellerId(String sellerId) {
                this.sellerId = sellerId;
            }

            public String getCategoryId() {
                return categoryId;
            }

            public void setCategoryId(String categoryId) {
                this.categoryId = categoryId;
            }

            public String getDietCategoryId() {
                return dietCategoryId;
            }

            public void setDietCategoryId(String dietCategoryId) {
                this.dietCategoryId = dietCategoryId;
            }

            public Integer getGoodsType() {
                return goodsType;
            }

            public void setGoodsType(Integer goodsType) {
                this.goodsType = goodsType;
            }

            public Integer getGoodsForm() {
                return goodsForm;
            }

            public void setGoodsForm(Integer goodsForm) {
                this.goodsForm = goodsForm;
            }

            public String getGoodsSn() {
                return goodsSn;
            }

            public void setGoodsSn(String goodsSn) {
                this.goodsSn = goodsSn;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public String getGoodsBrief() {
                return goodsBrief;
            }

            public void setGoodsBrief(String goodsBrief) {
                this.goodsBrief = goodsBrief;
            }

            public String getGoodsDetail() {
                return goodsDetail;
            }

            public void setGoodsDetail(String goodsDetail) {
                this.goodsDetail = goodsDetail;
            }

            public String getGoodsImg() {
                return goodsImg;
            }

            public void setGoodsImg(String goodsImg) {
                this.goodsImg = goodsImg;
            }

            public String getGoodsImgList() {
                return goodsImgList;
            }

            public void setGoodsImgList(String goodsImgList) {
                this.goodsImgList = goodsImgList;
            }

            public String getGoodsVideo() {
                return goodsVideo;
            }

            public void setGoodsVideo(String goodsVideo) {
                this.goodsVideo = goodsVideo;
            }

            public Integer getGoodsStocksTotal() {
                return goodsStocksTotal;
            }

            public void setGoodsStocksTotal(Integer goodsStocksTotal) {
                this.goodsStocksTotal = goodsStocksTotal;
            }

            public Integer getSort() {
                return sort;
            }

            public void setSort(Integer sort) {
                this.sort = sort;
            }

            public Integer getStatus() {
                return status;
            }

            public void setStatus(Integer status) {
                this.status = status;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getGoodsPrice() {
                return goodsPrice;
            }

            public void setGoodsPrice(String goodsPrice) {
                this.goodsPrice = goodsPrice;
            }

            public String getMarketPrice() {
                return marketPrice;
            }

            public void setMarketPrice(String marketPrice) {
                this.marketPrice = marketPrice;
            }

            public String getSubMoney() {
                return subMoney;
            }

            public void setSubMoney(String subMoney) {
                this.subMoney = subMoney;
            }

            public Integer getSubRatio() {
                return subRatio;
            }

            public void setSubRatio(Integer subRatio) {
                this.subRatio = subRatio;
            }

            public int getGiveBeans() {
                return giveBeans;
            }

            public void setGiveBeans(int giveBeans) {
                this.giveBeans = giveBeans;
            }

            public String getGiveMoney() {
                return giveMoney;
            }

            public void setGiveMoney(String giveMoney) {
                this.giveMoney = giveMoney;
            }

            public Integer getGiveHmbc() {
                return giveHmbc;
            }

            public void setGiveHmbc(Integer giveHmbc) {
                this.giveHmbc = giveHmbc;
            }

            public Integer getReturnMoney() {
                return returnMoney;
            }

            public void setReturnMoney(Integer returnMoney) {
                this.returnMoney = returnMoney;
            }

            public String getTransportId() {
                return transportId;
            }

            public void setTransportId(String transportId) {
                this.transportId = transportId;
            }

            public String getKeywords() {
                return keywords;
            }

            public void setKeywords(String keywords) {
                this.keywords = keywords;
            }

            public Integer getSalesVolume() {
                return salesVolume;
            }

            public void setSalesVolume(Integer salesVolume) {
                this.salesVolume = salesVolume;
            }

            public Integer getSalesVolumeVirtual() {
                return salesVolumeVirtual;
            }

            public void setSalesVolumeVirtual(Integer salesVolumeVirtual) {
                this.salesVolumeVirtual = salesVolumeVirtual;
            }

            public Integer getIsSpec() {
                return isSpec;
            }

            public void setIsSpec(Integer isSpec) {
                this.isSpec = isSpec;
            }

            public Integer getIsShowSales() {
                return isShowSales;
            }

            public void setIsShowSales(Integer isShowSales) {
                this.isShowSales = isShowSales;
            }

            public Integer getIsTop() {
                return isTop;
            }

            public void setIsTop(Integer isTop) {
                this.isTop = isTop;
            }

            public Integer getIsHot() {
                return isHot;
            }

            public void setIsHot(Integer isHot) {
                this.isHot = isHot;
            }

            public Integer getIsRecommend() {
                return isRecommend;
            }

            public void setIsRecommend(Integer isRecommend) {
                this.isRecommend = isRecommend;
            }

            public Integer getIsLimitTime() {
                return isLimitTime;
            }

            public void setIsLimitTime(Integer isLimitTime) {
                this.isLimitTime = isLimitTime;
            }

            public Integer getIsSpecial() {
                return isSpecial;
            }

            public void setIsSpecial(Integer isSpecial) {
                this.isSpecial = isSpecial;
            }

            public Integer getIsConfirm() {
                return isConfirm;
            }

            public void setIsConfirm(Integer isConfirm) {
                this.isConfirm = isConfirm;
            }

            public String getGiftIds() {
                return giftIds;
            }

            public void setGiftIds(String giftIds) {
                this.giftIds = giftIds;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getLimitTimeBegin() {
                return limitTimeBegin;
            }

            public void setLimitTimeBegin(String limitTimeBegin) {
                this.limitTimeBegin = limitTimeBegin;
            }

            public String getLimitTimeEnd() {
                return limitTimeEnd;
            }

            public void setLimitTimeEnd(String limitTimeEnd) {
                this.limitTimeEnd = limitTimeEnd;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public Integer getVersion() {
                return version;
            }

            public void setVersion(Integer version) {
                this.version = version;
            }

            public Integer getIsDeleted() {
                return isDeleted;
            }

            public void setIsDeleted(Integer isDeleted) {
                this.isDeleted = isDeleted;
            }

            public String getGiveStartupFund() {
                return giveStartupFund;
            }

            public void setGiveStartupFund(String giveStartupFund) {
                this.giveStartupFund = giveStartupFund;
            }

            public String getStartupFund() {
                return startupFund;
            }

            public void setStartupFund(String startupFund) {
                this.startupFund = startupFund;
            }

            public int getIsPorW() {
                return isPorW;
            }

            public void setIsPorW(int isPorW) {
                this.isPorW = isPorW;
            }

            public Integer getBuyNum() {
                return buyNum;
            }

            public void setBuyNum(Integer buyNum) {
                this.buyNum = buyNum;
            }

            public String getIsServiceCenter() {
                return isServiceCenter;
            }

            public void setIsServiceCenter(String isServiceCenter) {
                this.isServiceCenter = isServiceCenter;
            }

            public Integer getIsEnablingCard() {
                return isEnablingCard;
            }

            public void setIsEnablingCard(Integer isEnablingCard) {
                this.isEnablingCard = isEnablingCard;
            }

            public String getRedCodeCoupon() {
                return redCodeCoupon;
            }

            public void setRedCodeCoupon(String redCodeCoupon) {
                this.redCodeCoupon = redCodeCoupon;
            }

            public Integer getServiceCenterGoodsRecommender() {
                return serviceCenterGoodsRecommender;
            }

            public void setServiceCenterGoodsRecommender(Integer serviceCenterGoodsRecommender) {
                this.serviceCenterGoodsRecommender = serviceCenterGoodsRecommender;
            }

            public String getBatchNo() {
                return batchNo;
            }

            public void setBatchNo(String batchNo) {
                this.batchNo = batchNo;
            }

            public Integer getRefundType() {
                return refundType;
            }

            public void setRefundType(Integer refundType) {
                this.refundType = refundType;
            }
        }

        public static class Orders {
            private String column;
            private Boolean asc;

            public String getColumn() {
                return column;
            }

            public void setColumn(String column) {
                this.column = column;
            }

            public Boolean getAsc() {
                return asc;
            }

            public void setAsc(Boolean asc) {
                this.asc = asc;
            }
        }
    }
}
